using Microsoft.WindowsMobile.PocketOutlook;

namespace OutlookContacts
{
    public class OutlookContact : Contact
    {
        public override bool Equals(object other)
        {
            if (other == null) return false;
            if (other == this) return true;
            if (other.GetType() != GetType()) return false;
            OutlookContact otherContract = (OutlookContact) other;
            return otherContract.AccountName == AccountName;
        }
    }
}